package com.peoit.honeycomb.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 图片轮播实体
 * Created by zhouqiu on 2015/10/23.
 */
@Entity
@Table(name = "honeycomb_banner")
public class Banner extends BaseEntity {
    /**
     * 图片名
     */
    private String name;

    /**
     * 图片标题
     */
    private String title;

    /**
     * 路径
     */
    private String path;

    /**
     * 项目编号
     */
    private String proNum;

    /**
     * 图片描述
     */
    private String description;

    /**
     * banner分类 ： 活动(act)，项目(pro)
     */
    private String type;

    /**
     * banner url
     */
    private String url;

    /**
     * banner所在城市
     */
    private String city;

    /**
     * 排序
     */
    @Column(name = "sortOrder", columnDefinition = "INT default 0")
    private int sortOrder = 0;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(int sortOrder) {
        this.sortOrder = sortOrder;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getProNum() {
        return proNum;
    }

    public void setProNum(String proNum) {
        this.proNum = proNum;
    }
}
